package com.njtoyo.taxi.admin.mapper.master.mapper;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.library.Const;
import com.njtoyo.taxi.admin.mapper.master.entity.OnlineValuationRule;
import com.njtoyo.taxi.admin.mapper.master.entity.VehicleOnlineValuationRule;
import com.njtoyo.taxi.admin.rest.presenter.business.operation_rule.online_valuation.OnlineValuationPresenter;
import com.njtoyo.taxi.admin.rest.presenter.business.operation_rule.vehicle_online_valuation.VehicleOnlineValuationPresenter;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Repository
@DS(Const.PRIMARY_DS)
public interface VehicleOnlineValuationRuleMapper extends BaseMapper<VehicleOnlineValuationRule> {
    IPage<VehicleOnlineValuationPresenter> getPageList(Page<VehicleOnlineValuationPresenter> page, @Param("driverRegionId") String driverRegionId, @Param("isActive") Boolean isActive);
}
